package com.qianli.cashmama.trade.entity;

import com.fqgj.common.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * User: zhihaoxie
 * Date: 2018-08-15
 * Time: 10:16:30.963
 * TableDesc:还款金额入账记录表（做会计分录）
 */
public class TBillRepaymentAccountingEntity extends BaseEntity {
    /**
     * 关联还款业务编号(t_bill_repayment_detail中的biz_no)
     */
    private String repaymentBizNo;
    /**
     * 关联账单编号
     */
    private String billNo;
    /**
     * 关联交易编号
     */
    private String tradeNo;
    /**
     * 用户编号
     */
    private String userCode;
    /**
     * 支付流水号
     */
    private String payBizNo;
    /**
     * 产品类目
     */
    private String productCategory;
    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 当笔账单当次入账金额
     */
    private BigDecimal paidCapital;
    /**
     * 当次还款金额,冗余字段（与t_bill_repayment_detail中的paid_capital金额一致）
     */
    private BigDecimal paidTotalCapital;
    /**
     * 实收逾期罚息服务费
     */
    private BigDecimal realOverdueServiceFee;
    /**
     * 单笔还款减免金额
     */
    private BigDecimal discountCapital;
    /**
     * 实收本金
     */
    private BigDecimal realIncome;
    /**
     * 实收利息
     */
    private BigDecimal realInterest;
    /**
     * 实收服务费
     */
    private BigDecimal realServiceFee;
    /**
     * 入账时间
     */
    private Date accountedTime;
    /**
     *
     */
    private Integer isDeleted;
    /**
     * 实收逾期罚息
     */
    private BigDecimal realOverdueFee;

    /**
     * 结算金额
     */
    private BigDecimal settlementAmount;


    public String getRepaymentBizNo() {
        return this.repaymentBizNo;
    }

    public TBillRepaymentAccountingEntity setRepaymentBizNo(String repaymentBizNo) {
        this.repaymentBizNo = repaymentBizNo;
        return this;
    }

    public String getBillNo() {
        return this.billNo;
    }

    public TBillRepaymentAccountingEntity setBillNo(String billNo) {
        this.billNo = billNo;
        return this;
    }

    public String getTradeNo() {
        return this.tradeNo;
    }

    public TBillRepaymentAccountingEntity setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public String getUserCode() {
        return this.userCode;
    }

    public TBillRepaymentAccountingEntity setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public String getPayBizNo() {
        return this.payBizNo;
    }

    public TBillRepaymentAccountingEntity setPayBizNo(String payBizNo) {
        this.payBizNo = payBizNo;
        return this;
    }

    public String getProductCategory() {
        return this.productCategory;
    }

    public TBillRepaymentAccountingEntity setProductCategory(String productCategory) {
        this.productCategory = productCategory;
        return this;
    }

    public String getProductCode() {
        return this.productCode;
    }

    public TBillRepaymentAccountingEntity setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public BigDecimal getPaidCapital() {
        return this.paidCapital;
    }

    public TBillRepaymentAccountingEntity setPaidCapital(BigDecimal paidCapital) {
        this.paidCapital = paidCapital;
        return this;
    }

    public BigDecimal getPaidTotalCapital() {
        return this.paidTotalCapital;
    }

    public TBillRepaymentAccountingEntity setPaidTotalCapital(BigDecimal paidTotalCapital) {
        this.paidTotalCapital = paidTotalCapital;
        return this;
    }

    public BigDecimal getRealOverdueServiceFee() {
        return this.realOverdueServiceFee;
    }

    public TBillRepaymentAccountingEntity setRealOverdueServiceFee(BigDecimal realOverdueServiceFee) {
        this.realOverdueServiceFee = realOverdueServiceFee;
        return this;
    }

    public BigDecimal getDiscountCapital() {
        return this.discountCapital;
    }

    public TBillRepaymentAccountingEntity setDiscountCapital(BigDecimal discountCapital) {
        this.discountCapital = discountCapital;
        return this;
    }

    public BigDecimal getRealIncome() {
        return this.realIncome;
    }

    public TBillRepaymentAccountingEntity setRealIncome(BigDecimal realIncome) {
        this.realIncome = realIncome;
        return this;
    }

    public BigDecimal getRealInterest() {
        return this.realInterest;
    }

    public TBillRepaymentAccountingEntity setRealInterest(BigDecimal realInterest) {
        this.realInterest = realInterest;
        return this;
    }

    public BigDecimal getRealServiceFee() {
        return this.realServiceFee;
    }

    public TBillRepaymentAccountingEntity setRealServiceFee(BigDecimal realServiceFee) {
        this.realServiceFee = realServiceFee;
        return this;
    }

    public Date getAccountedTime() {
        return this.accountedTime;
    }

    public TBillRepaymentAccountingEntity setAccountedTime(Date accountedTime) {
        this.accountedTime = accountedTime;
        return this;
    }

    public Integer getIsDeleted() {
        return this.isDeleted;
    }

    public TBillRepaymentAccountingEntity setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
        return this;
    }

    public BigDecimal getRealOverdueFee() {
        return this.realOverdueFee;
    }

    public TBillRepaymentAccountingEntity setRealOverdueFee(BigDecimal realOverdueFee) {
        this.realOverdueFee = realOverdueFee;
        return this;
    }

    public BigDecimal getSettlementAmount() {
        return settlementAmount;
    }

    public void setSettlementAmount(BigDecimal settlementAmount) {
        this.settlementAmount = settlementAmount;
    }
}
